package com.hs.mobile.dao.device;

import java.util.Date;
import java.util.List;
import com.hs.mobile.dao.CommonDAO;
import com.hs.mobile.model.Device;
import com.hs.mobile.model.ServiceMB;

public interface DeviceDAO extends CommonDAO {
	public Device findByDeviceId( long id );
	public void updateStatusDevice( long id, int status , Date modified );
	public List<Device> getListDevicesByExpireDate( Date expireDate );
	public List<Device> getListAllAvailableDevices();
	public List<Device> getDevicesByCategoryId( long categoryId );
	public List<Device> getDeviceByIdGCM( String idGCM ); 
	public List<ServiceMB> getListServiceUserRegister( long id );
}
